package com.sztx.pay.center.dataaccess.domain;

import com.sztx.se.dataaccess.mysql.domain.BaseDO;

import java.util.Date;

@SuppressWarnings("serial")
public class UserInfoDO extends BaseDO {
    /**
    * 用户唯一id
     */
    private String userId;

    /**
    * 0平台账号,1个人用户,2商户,3代理商
     */
    private Integer userType;

    /**
    * 手机号
     */
    private String mobile;

    private Integer isMobileBinded;

    /**
    * 邮箱
     */
    private String email;

    private Integer isEmailBinded;

    /**
    * 默认 1.身份证 
     */
    private Integer identityType;

    /**
    * 证件号
     */
    private String identityNo;

    /**
    * 支付密码(MD5盐值加密)，AES
     */
    private String payPassword;

    /**
    * 短支付密码(MD5盐值加密)，AES
     */
    private String shortPayPassword;

    /**
    * 支付密码盐值
     */
    private String paySalt;

    private Integer userStatus;

    /**
    * 实名
     */
    private String realName;

    /**
    * 是否实名认证:0未实名，1已实名
     */
    private Integer isRealName;

    /**
    * 认证等级
     */
    private Integer grade;

    /**
    * 联系地址
     */
    private String address;

    /**
    * 注册时间
     */
    private Date createTime;

    /**
    * 修改时间
     */
    private Date updateTime;

    /**
    * 联系电话
     */
    private String phone;

    /**
    * 修改操作用户
     */
    private String updateUser;

    private String remark;
    /**
     * 是否灰度  0未灰度 1已灰度
     */
    private Integer grayState;

    
    public Integer getGrayState() {
		return grayState;
	}

	public void setGrayState(Integer grayState) {
		this.grayState = grayState;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getIdentityNo() {
        return identityNo;
    }

    public void setIdentityNo(String identityNo) {
        this.identityNo = identityNo;
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }
    public String getShortPayPassword() {
        return shortPayPassword;
    }
    public void setShortPayPassword(String shortPayPassword) {
        this.shortPayPassword = shortPayPassword;
    }
    public String getPaySalt() {
        return paySalt;
    }
    public void setPaySalt(String paySalt) {
        this.paySalt = paySalt;
    }
    public String getRealName() {
        return realName;
    }
    public void setRealName(String realName) {
        this.realName = realName;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getUpdateUser() {
        return updateUser;
    }
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
	public Integer getUserType() {
		return userType;
	}
	public void setUserType(Integer userType) {
		this.userType = userType;
	}
	public Integer getIsMobileBinded() {
		return isMobileBinded;
	}
	public void setIsMobileBinded(Integer isMobileBinded) {
		this.isMobileBinded = isMobileBinded;
	}
	public Integer getIsEmailBinded() {
		return isEmailBinded;
	}
	public void setIsEmailBinded(Integer isEmailBinded) {
		this.isEmailBinded = isEmailBinded;
	}
	public Integer getIdentityType() {
		return identityType;
	}
	public void setIdentityType(Integer identityType) {
		this.identityType = identityType;
	}
	public Integer getUserStatus() {
		return userStatus;
	}
	public void setUserStatus(Integer userStatus) {
		this.userStatus = userStatus;
	}
	public Integer getIsRealName() {
		return isRealName;
	}
	public void setIsRealName(Integer isRealName) {
		this.isRealName = isRealName;
	}
	public Integer getGrade() {
		return grade;
	}
	public void setGrade(Integer grade) {
		this.grade = grade;
	}
	
	
	@Override
	public String toString() {
		return "UserInfoDO [userId=" + userId + ", userType=" + userType
				+ ", mobile=" + mobile + ", isMobileBinded=" + isMobileBinded
				+ ", email=" + email + ", isEmailBinded=" + isEmailBinded
				+ ", identityType=" + identityType + ", identityNo="
				+ identityNo + ", payPassword=" + payPassword
				+ ", shortPayPassword=" + shortPayPassword + ", paySalt="
				+ paySalt + ", userStatus=" + userStatus + ", realName="
				+ realName + ", isRealName=" + isRealName + ", grade=" + grade
				+ ", address=" + address + ", createTime=" + createTime
				+ ", updateTime=" + updateTime + ", phone=" + phone
				+ ", updateUser=" + updateUser + ", remark=" + remark + "]";
	}
    
    
    
}